﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Domain.Security;

namespace BOSS.Domain.Products
{
    /// <summary>
    /// 产品使用记录
    /// </summary>
    public class ProductUsageRecord : DomainEntity<int>
    {
        /// <summary>
        /// 获取 / 设置 编号
        /// </summary>
        public virtual string SerialNumber { get; set; }

        /// <summary>
        /// 获取 / 设置 产品
        /// </summary>
        public virtual Product Product { get; set; }

        /// <summary>
        /// 获取 / 设置 开始使用日期
        /// </summary>
        public virtual DateTime? StartDate { get; set; }

        /// <summary>
        /// 获取 / 设置 结束使用日期
        /// </summary>
        public virtual DateTime? EndDate { get; set; }

        /// <summary>
        /// 获取 / 设置 使用项
        /// </summary>
        public virtual IList<ProductUsageItem> UsageItems { get; set; }

    }
}
